package com.mrjy.queries.dto;

import java.sql.Timestamp;
import java.util.Set;

/**
 * 返回 关注/热帖/新帖 的实体
 * @author Josh
 *
 */
public class PostDTO {
	
	/*
	 * 发帖id
	 */
	private Integer questionId; 
	/*
	 * 发帖标题
	 */
	private String questionContent;
	/*
	 * 发帖 浏览量
	 */
	private Integer questionViewNum;
	/*
	 * 发帖 回帖量
	 */
	private Integer questionCommentNum;
	/*
	 * 发帖时间
	 */
	private Timestamp createTime;
	/*
	 * 发帖 是否置顶
	 */
	private String isStick;
	/*
	 * 发帖配图
	 */
	private String[]  imgArr = {};
	/*
	 * 回帖实体集合
	 */
	private Set<QuestionCommentDTO> commentList;
	
	public Integer getQuestionId() {
		return questionId;
	}
	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}
	public Integer getQuestionViewNum() {
		return questionViewNum;
	}
	public void setQuestionViewNum(Integer questionViewNum) {
		this.questionViewNum = questionViewNum;
	}
	public Integer getQuestionCommentNum() {
		return questionCommentNum;
	}
	public void setQuestionCommentNum(Integer questionCommentNum) {
		this.questionCommentNum = questionCommentNum;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public String getIsStick() {
		return isStick;
	}
	public void setIsStick(String isStick) {
		this.isStick = isStick;
	}
	public String[] getImgArr() {
		return imgArr;
	}
	public void setImgArr(String[] imgArr) {
		this.imgArr = imgArr;
	}
	public String getQuestionContent() {
		return questionContent;
	}
	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}
	public Set<QuestionCommentDTO> getCommentList() {
		return commentList;
	}
	public void setCommentList(Set<QuestionCommentDTO> commentList) {
		this.commentList = commentList;
	}
	
}
